//
//  UIVIew+Shadow.h
//  GK
//
//  Created by Seven on 2018/12/19.
//  Copyright © 2018 Seven. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView(Shadow)

- (UIView *)addShadowView;
- (UIView *)addSmallShadowView;
- (UIView *)addShadowWithColor:(UIColor *)color shadowOffset:(CGSize)shadowOffset shadowRadius:(CGFloat)shadowRadius inset:(UIEdgeInsets)inset;
- (UIView *)addShadowWithColor:(UIColor *)color shadowOffset:(CGSize)shadowOffset cornerRadius:(CGFloat)cornerRadius inset:(UIEdgeInsets)inset shadowRadius:(CGFloat)shadowRadius;

- (void)addShadow;
- (void)centerToParent;

#pragma mark AnchorPoint
- (void)setAnchorPoint:(CGPoint)anchorPoint;
- (void)setDefaultAnchorPoint;

@end

NS_ASSUME_NONNULL_END
